package com.stenio.fancat.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 频道表实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fc_channel")
public class Channel extends BaseEntity {

	/** 序列化ID */
	private static final long serialVersionUID = -6688850710124249539L;
	/** 自增主键 */
	@TableId(value = "channel_id", type = IdType.AUTO)
	Integer channelId;
	/** 品牌名称 */
	@TableField("channel_name")
	private String channelName;

	public static final String CHANNEL_ID = "channel_id";

}
